﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using ZhongKeSite.Entity;
using ZhongKeSite.Entity.Models;

namespace ZhongKeSite.Service
{
    public interface ISubscribeService
    {
        #region 资讯广告管理
        LayPager<Subscribe> GetSubscribePagedList(int pageIndex, int pageSize, Expression<Func<Subscribe, bool>> predicate);
        ResultResponse<Subscribe> GetSubscribe(string id);
        ResultResponse AddSubscribe(Subscribe model);
        ResultResponse UpdateSubscribe(Subscribe model);
        ResultResponse UpdateSubscribeState(List<string> ids, string userName, DataStatus dataStatus);
        #endregion
    }
}
